﻿using System.Collections;
using System.ComponentModel;
using System.Configuration.Install;

namespace InstaladorEleven
{
    [RunInstaller(true)]
    public partial class Instalador : Installer
    {
        public Instalador()
        {
            InitializeComponent();
        }

        public override void Install(IDictionary stateSaver)
        {
            base.Install(stateSaver);
            FrmInstalador instalador = new FrmInstalador(Context.Parameters["Directorio"]);
            instalador.ShowDialog();
            instalador.Dispose();
            instalador = null;
        }
    }
}
